<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>商家基本资料</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"   content= "no-cache" /> 
    <meta http-equiv= "Cache-Control"   content= "no-cache" /> 
    <meta http-equiv= "Expires"   content= "0" />

    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/layui/style/admin.css" media="all" />

</head>

<body>

    <form class="layui-form" lay-filter="enterprise_form" action="">
        <input type="hidden" id="id" name="id" th:value="${baseMchInfo.id}"/>
        <input type="hidden" id="oemId" name="oemId" th:value="${baseMchInfo.oemId}"/>
        <input type="hidden" id="userId" name="userId" th:value="${baseMchInfo.userId}"/>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend>联系信息</legend>
            <div class="layui-form-item " >
                <label class="layui-form-label">联系人</label>
                <div class="layui-input-block">
                    <input type="text" name="contact" th:value="${baseMchInfo.contact}"    placeholder="联系人" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">手机号码</label>
                <div class="layui-input-block">
                    <input type="text" name="contact_phone" th:value="${baseMchInfo.contact_phone}"    placeholder="联系手机" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">邮箱</label>
                <div class="layui-input-block">
                    <input type="text" name="contact_email" th:value="${baseMchInfo.contact_email}"    placeholder="联系邮箱" autocomplete="off" class="layui-input">
                </div>
            </div>

        </fieldset>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
         <legend>经营信息</legend>

            <div class="layui-form-item " >
                <label class="layui-form-label">商户简称</label>
                <div class="layui-input-block">
                    <input type="text" name="merchant_shortname" th:value="${baseMchInfo.merchant_shortname}"    placeholder="商户简称" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item " >
                <label class="layui-form-label">门店名称</label>
                <div class="layui-input-block">
                    <input type="text" name="store_name" th:value="${baseMchInfo.store_name}"    placeholder="门店名称" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">门店省市编码</label>
                <div class="layui-input-block">
                    <input type="text" name="store_address_code" th:value="${baseMchInfo.store_address_code}"    placeholder="门店省市编码" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">门店街道名称</label>
                <div class="layui-input-block">
                    <input type="text" name="store_street" th:value="${baseMchInfo.store_street}"    placeholder="门店街道名称" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item" >
                <label class="layui-form-label">门店门口照片</label>
                <div class="layui-input-block face_file">
                    <div class="layui-upload-list">
                        <input type="hidden" keyName="store_entrance_pic" name="store_entrance_pic" th:value="${baseMchInfo.store_entrance_pic}" class="face_file_input">
                        <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                        <p class="fade_file_tip"></p>
                    </div>
                    <button type="button"  class="layui-btn layui-form-label face_file_btn" >上传图片</button>
                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">店内环境照片</label>
                <div class="layui-input-block face_file">
                    <div class="layui-upload-list">
                        <input type="hidden" keyName="indoor_pic" name="indoor_pic" th:value="${baseMchInfo.indoor_pic}" class="face_file_input">
                        <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                        <p class="fade_file_tip"></p>
                    </div>
                    <button type="button"  class="layui-btn layui-form-label face_file_btn" >上传图片</button>
                </div>
            </div>



        </fieldset>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
         <legend>企业法人/经办人</legend>

            <div class="layui-form-item " >
                <label class="layui-form-label">身份证姓名</label>
                <div class="layui-input-block">
                    <input type="text" name="id_card_name" th:value="${baseMchInfo.id_card_name}"    placeholder="身份证姓名" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item " >
                <label class="layui-form-label">身份证号码</label>
                <div class="layui-input-block">
                    <input type="text" name="id_card_number" th:value="${baseMchInfo.id_card_number}"    placeholder="身份证号码" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item" >
                <label class="layui-form-label">身份证人像面照片</label>
                <div class="layui-input-block face_file">
                    <div class="layui-upload-list">
                        <input type="hidden" keyName="id_card_copy" name="id_card_copy" th:value="${baseMchInfo.id_card_copy}" class="face_file_input">
                        <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                        <p class="fade_file_tip"></p>
                    </div>
                    <button type="button"  class="layui-btn layui-form-label face_file_btn" >上传图片</button>

                </div>
            </div>


            <div class="layui-form-item" >
                <label class="layui-form-label">身份证国徽面照片</label>
                <div class="layui-input-block face_file">
                    <div class="layui-upload-list">
                        <input type="hidden" keyName="id_card_national" name="id_card_national" th:value="${baseMchInfo.id_card_national}" class="face_file_input">
                        <img class="layui-upload-img face_file_img" style="max-width: 300px; max-height: 200px;" >
                        <p class="fade_file_tip"></p>
                    </div>
                    <button type="button"  class="layui-btn layui-form-label face_file_btn" >上传图片</button>

                </div>
            </div>



            <div class="layui-form-item " >
                <label class="layui-form-label">有效期开始时间(格式2010-01-01)</label>
                <div class="layui-input-block">
                    <input type="text" name="id_card_valid_start_time" th:value="${baseMchInfo.id_card_valid_start_time}"    placeholder="有效期开始时间格式" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">有效期结束时间(格式2010-01-01)</label>
                <div class="layui-input-block">
                    <input type="text" name="id_card_valid_end_time" th:value="${baseMchInfo.id_card_valid_end_time}"    placeholder="有效期结束时间格式" autocomplete="off" class="layui-input">
                </div>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">

            <legend>银行账户信息</legend>
            <div class="layui-form-item " >
                <label class="layui-form-label">开户名称</label>
                <div class="layui-input-block">
                    <input type="text" name="account_name" th:value="${baseMchInfo.account_name}"    placeholder="开户名称" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item " >
                <label class="layui-form-label">开户银行</label>
                <div class="layui-input-block">
                    <input type="text" name="account_bank" th:value="${baseMchInfo.account_bank}"    placeholder="开户银行" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">开户银行省市编码</label>
                <div class="layui-input-block">
                    <input type="text" name="bank_address_code" th:value="${baseMchInfo.bank_address_code}"    placeholder="开户银行省市编码" autocomplete="off" class="layui-input">
                </div>
            </div>


            <div class="layui-form-item " >
                <label class="layui-form-label">开户银行全称（含支行）</label>
                <div class="layui-input-block">
                    <input type="text" name="bank_name" th:value="${baseMchInfo.bank_name}"    placeholder="开户银行全称（含支行）" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item " >
                <label class="layui-form-label">银行账号</label>
                <div class="layui-input-block">
                    <input type="text" name="account_number" th:value="${baseMchInfo.account_number}"    placeholder="银行账号" autocomplete="off" class="layui-input">
                </div>
            </div>

        </fieldset>


        <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="base_mch_form_ok">保存</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/enterprise/baseMchInfo.js"></script>


</body>
</html>